<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<title>投诉详情</title>
<script src="ckeditor/ckeditor.js"></script>
<%@include file="/WEB-INF/jsp/public/commons.jspf"%>
</head>
<body>
<ol class="breadcrumb">
  <li><a href="home_innerCentre.action">首页</a></li>
  <li><a href="message_deplist.action">投诉管理</a></li>
  <li class="active">投诉内容</li>
</ol>
<div class="well well-lg">	  
	  <div class="form-group">
		<label for="name">投诉时间:</label>
		
		<s:date name="creationTime"  format="yyyy-MM-dd"/>
	  </div>
	  <div class="form-group">
		<label for="name">投诉公司:</label>
		${depname}
		
	  </div>
	  
	  <div class="form-group">
	    <label for="name">投诉原因:</label>
	    <div style="height: 200px;border:3px solid #000;">
	    ${cause}
	    </div>
	  </div>
	  <div class="form-group">
		<label for="name">投诉人:</label>
		${user.name}
		
	  </div>
	  <div class="form-group">
		<label for="name">联系方式:</label>
		${user.phoneNumber}
		
	  </div>
	  
	   
	  <div class="form-group">
	    <label for="name">向业务公司人员推送处理</label>
	    <div style="width:25%;">
		    <s:select id="dep" name="departmentId" cssClass="form-control" value="id"
	               list="#users" listKey="id" listValue="realName"
	               headerKey="" headerValue="请选择推送人员"
	          />
	     </div>
	  </div>
	  
	   <div class="form-group">
			 <a href="javascript:pushMessage();" class="btn btn-info">推送</a>
			 <a href="javascript:history.go(-1);" class="btn btn-info">返回</a>
	   </div>
</div>
<script type="text/javascript">
     function pushMessage(){
     	/* alert($("#dep").val()); */
     	window.location="complain_push.action?id="+${id}+"&userId="+$("#dep").val();
     }
</script>
</body>
</html>